﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    [Serializable]
    public class TreeViewInfo
    {
        private string id;
        private string name;
        private string parent;
        private string textField;
        private string valueField;
        private string category;

        public TreeViewInfo()
        {

        }

        public TreeViewInfo(string id, string name, string parent, string textField, string valueField)
        {
            this.id = id;
            this.name = name;
            this.parent = parent;
            this.textField = textField;
            this.valueField = valueField;
        }

        public TreeViewInfo(string id, string name, string parent, string textField, string valueField, string category)
        {
            this.id = id;
            this.name = name;
            this.parent = parent;
            this.textField = textField;
            this.valueField = valueField;
            this.category = category;
        }

        ~TreeViewInfo()
        {

        }

        public string ID
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }
        public string Parent
        {
            get
            {
                return parent;
            }
            set
            {
                parent = value;
            }
        }
        public string TextField
        {
            get
            {
                return textField;
            }
            set
            {
                textField = value;
            }
        }
        public string ValueField
        {
            get
            {
                return valueField;
            }
            set
            {
                valueField = value;
            }
        }
        public string Category
        {
            get
            {
                return category;
            }
            set
            {
                category = value;
            }
        }
    }
}
